Repository navigation
docs: document the preview Rust port and add cross-port stage benchmark - #607
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Cross-port stage benchmark (
scripts/bench-load/stages.py, with a Java warm-load driver,gen-model.py --unique-names, and--dir/--jsonon theload_benchexample). It runs TypeScript, Python, C#, Java, Kotlin and Rust over the same model, stage by stage:load: warm load and validategen-noop: the generation command with nothing changedgen-full: generation from clean outputgen-edit: regeneration after one entity gains a fieldEach stage is the median of N runs with peak RSS, written to one
report.jsonand one Markdown table. It never gates on a threshold. The default model is the public 20x fitness fixture.--project <path> --out <dir>runs the same stages on a private project: the metadata and its config are copied to scratch, and--outmust be outside the repository, so a private run never lands in the repo.Rust stages skipped pending
cargo meta gen: the three Rust generation stages (gen-noop,gen-full,gen-edit) print "not available yet" while the command does not exist, and are picked up automatically once it does. Rust load is measured throughload_bench --dir. Kotlin has no load row of its own (it loads through the Java loader).Rust documentation: new
docs/ports/rust.md(preview wording, what works, what does not exist yet, plannedcargo meta, thecargo-metacrates.io name note, build and test, theexamples/tasks-axi-rust/pointer), linked from the README,docs/README.mdandlanguage-differences.md. ADR-0065 status moved to Accepted (2026-11-19) on the captain's decision.scripts/bench-load/README.mdis the single owner of benchmark usage. CHANGELOG[Unreleased]entry added, and itsyaml-conformancefigure corrected to 18 of 19.Nothing is published and no version changes.
server/rustis touched only in theload_benchexample.Validation
scripts/ci-local.sh --only gatesand--only rustpassed locally before the gate.--projecthandling of the project's config (copied,sourcesrewritten, shared install step for every port, with a regression test), the anonymity wording and the libraries-gap note. Document fixed the ADR status, a docstring clause and the doc ownership.cargo meta.